package com.css.zfzx.fxpg.modules.preestimate.report.viewobjects;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.handler.inter.IExcelDataModel;
import cn.afterturn.easypoi.handler.inter.IExcelModel;
import lombok.Data;

import javax.persistence.Column;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author leon
 * @date 2020/11/20 11:24
 */
@Data
public class FxPreestimateReportVo implements Serializable, IExcelDataModel, IExcelModel {
    private Integer rowNum;
    private String errorMsg;

    /**
     * 工作区名称
     */
    @NotNull(message = "缺失")
    @Excel(name = "工作区名称", width = 15)
    private String workspace;

    /**
     * 年度
     */
    @NotNull(message = "缺失")
    @Excel(name = "年度", width = 15)
    private String year;

    /**
     * 编制单位（多个省局以‘、’分隔）
     */
    @NotNull(message = "缺失")
    @Excel(name = "编制单位（多个省局以‘、’分隔）", width = 30)
    private String unit;
    /**
     * 报告（简本）/文件路径
     */
    @Excel(name = "报告（简本）/文件名称", width = 40)
    private String reportBriefFileName;

    /**
     * 报告（详本）/文件路径
     */
    @Excel(name = "报告（详本）/文件名称", width = 40)
    private String reportDetailFileName;

    /**
     * 报告路径/文件路径
     */
    @Excel(name = "报告/文件名称", width = 40)
    private String reportFileName;

}
